package com.ybzl.common.config.minio;

import org.apache.commons.pool2.PooledObjectFactory;
import org.apache.commons.pool2.impl.AbandonedConfig;
import org.apache.commons.pool2.impl.GenericObjectPool;
import org.apache.commons.pool2.impl.GenericObjectPoolConfig;

/**
 *  1、池中存在链接
 *      2、链接由工厂产生
 *
 *  池中维持了多个链接
 */
public class MinioPool extends GenericObjectPool<MinioConn> {
    public MinioPool(PooledObjectFactory<MinioConn> factory) {
        super(factory);
    }

    public MinioPool(PooledObjectFactory<MinioConn> factory, GenericObjectPoolConfig<MinioConn> config) {
        super(factory, config);
    }

    public MinioPool(PooledObjectFactory<MinioConn> factory, GenericObjectPoolConfig<MinioConn> config, AbandonedConfig abandonedConfig) {
        super(factory, config, abandonedConfig);
    }
}
